package com.orange.cetback.service;

import com.orange.cetback.common.vo.PageResult;
import com.orange.cetback.pojo.dto.ExamPapersDTO;
import com.orange.cetback.pojo.dto.PaperDTO;
import com.orange.cetback.pojo.entity.ExamPapers;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenenjun
 * @since 2025-02-16
 */
public interface ExamPapersService extends IService<ExamPapers> {

    List<ExamPapers> list(ExamPapersDTO examPapersDTO);

    PageResult<ExamPapers> pageQuery(PaperDTO paperDTO);

    void uploadPaperQuestion(Integer paperId, MultipartFile file);
}
